﻿using System;

namespace Com.Hikvision.Wrapper.Core.Domain.EntranceControl
{
    public class UserRecord
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 设备IP
        /// </summary>
        public string DeviceIp { get; set; }

        /// <summary>
        /// 卡号
        /// </summary>
        public string CardNo { get; set; }

        /// <summary>
        /// 刷卡类型
        /// </summary>
        public int CardType { get; set; }

        /// <summary>
        /// 设备记录时间
        /// </summary>
        public DateTime AlertTime { get; set; }

        /// <summary>
        /// 数据采集时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 报警主类型
        /// </summary>
        public int Major { get; set; }

        /// <summary>
        /// 报警次类型
        /// </summary>
        public int Minor { get; set; }

        /// <summary>
        /// 人脸照片
        /// </summary>
        public byte[] FaceImage { get; set; }
    }
}